package cn.ac.registAService.commons;

/** 
 * @author  yangzhong  E-mail: zyang@ceode.ac.cn
 * @version 1.0
 * @date    2012-10-11 下午11:52:22 
 * @fuction 有关元数据的常量值
 */

public class MetadataConstant {

	/**
	 *服务类型/服务模型（枚举值：参照GN的列表值和UDDI的列表值）
	 */
	public static  enum serviceType {

		SUPERMANAGER("superManager"),MANAGER("manager"),ORGANIZER("organizer"),NORMAL("normal");

		//------------------------------------------------------------------------
		
		private String setUserType;
		
	    private	serviceType(String setName) { this.setUserType = setName;}
	    	    
	    public String toString() { return setUserType; }
	    
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
	String a=	UserConstant.UserType.SUPERMANAGER.toString();
	System.out.println(a);

	}


}
